﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcApplication1.Models.Topic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Agregar Un Topic</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Detalles</legend>
            <p>
                <label for="Tema">Tema:</label>
            </p>
            <p>
                <asp:TextBox ID="Tema" runat="server" Height=27px Width=641px ></asp:TextBox>
            </p>
            <p>
                <label for="Tema">Cuerpo:</label>
            </p>
            <p>
                <asp:TextBox ID="Cuerpo" runat="server" Height=94px Width=641px  
                    TextMode="MultiLine"></asp:TextBox>
            </p>
            <p>
                <input type="submit" value="Agregar Topic" />
            </p>

            
    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
                </div>

            
        </fieldset>

    <% } %>

    </asp:Content>

